package com.account;

public class Account {
    private String name;
    private String psd;

    public Account() {
    }

    public Account(String name, String psd) {
        this.name = name;
        this.psd = psd;
    }

    public String getName() {
        return name;
    }

    public String getPsd() {
        return psd;
    }

    public boolean isLogIn() {
        return name.equals("admin") && psd.equals("1234");
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPsd(String psd) {
        this.psd = psd;
    }
}
